﻿<%@ Page Language="C#" MasterPageFile="~/Teacher/TeacMasterPage.master" AutoEventWireup="true" CodeFile="AddFillInBlank.aspx.cs" Inherits="Teacher_Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentBody" Runat="Server">
<form runat="server">
    添加填空题<br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
        DataSourceID="SqlDataSource1">
        <Columns>        
            <asp:BoundField DataField="id" Visible="False" HeaderText="id" ReadOnly="True" SortExpression="id" />
            <asp:BoundField DataField="title" HeaderText="title" SortExpression="title" />
            <asp:BoundField DataField="answer" HeaderText="answer" SortExpression="answer" />
            <asp:BoundField DataField="hardLevel" HeaderText="hardLevel" SortExpression="hardLevel" />
            <asp:BoundField DataField="score" HeaderText="score" SortExpression="score" />
            <asp:BoundField DataField="teacherId" HeaderText="teacherId" SortExpression="teacherId" />
            <asp:BoundField DataField="date" HeaderText="date" SortExpression="date" />
            <asp:BoundField DataField="analysis" HeaderText="analysis" SortExpression="analysis" />
            <asp:BoundField DataField="spaceCount" HeaderText="spaceCount" SortExpression="spaceCount" />
            <asp:ButtonField CommandName="Select" HeaderText="操作" ShowHeader="True" Text="添加" />
            
            <asp:HyperLinkField HeaderText="操作" NavigateUrl="AddSuccess.aspx?paperId=<%= Request.QueryString['paperId'] %>" Text="添加" />
                                                           
            
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:onlineexamConnectionString %>"
        SelectCommand="SELECT * FROM [t_fillinblank]">
    </asp:SqlDataSource>
        
    <asp:Label ID="msg" runat="server" />
        <!--
                paperId= <%= Request.QueryString["paperId"] %>
            -->
</form>

</asp:Content>

